<?php

namespace app\index\controller;

use think\Controller;

class Index extends Controller
{

    protected function initialize()
    {
    }

    public function hello()
    {
        $name = input('name', '');

        $vars = compact('name');

        return $this->fetch('', $vars);
    }

    public function index()
    {
        $web_info = web_config('web_config');

        $vars = compact('web_info');

        return $this->fetch('index', $vars);
    }

}
